package com.waterai.service;

import com.waterai.dto.UserDTO;
import com.waterai.entity.User;
import com.waterai.excel.UserExcel;
import com.waterai.tools.utils.PageData;
import com.waterai.util.service.ExcelImportService;

import java.util.List;
import java.util.Map;

public interface UserService extends ExcelImportService<UserExcel> {
    PageData<UserDTO> all(Map<String, Object> params);

    void add(User user);

    void edit(User user);

    void delete(Long id);

    List<UserDTO> queryByIds(String[] ids);
}
